<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css" rel="stylesheet">
    <style>
        body {
            background-color: #f8f9fa;
            margin: 0;
            padding: 0;
        }
        .capsule {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 87px;
            height: 30px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 15px;
        }
    </style>
</head>
<body>
    <div class="capsule"></div>
    <div class="p-4">
        <!-- 搜索栏 -->
        <div class="relative mb-4">
            <input type="text" placeholder="搜索车型、品牌" 
                   class="w-full h-12 pl-12 pr-4 rounded-full bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500">
            <i class="ri-search-line absolute left-4 top-3 text-gray-400 text-xl"></i>
        </div>

        <!-- 轮播图 -->
        <div class="mb-6 rounded-2xl overflow-hidden shadow-sm">
            <img src="https://images.unsplash.com/photo-1503376780353-7e6692767b70" 
                 class="w-full h-40 object-cover">
        </div>

        <!-- 分类导航 -->
        <div class="grid grid-cols-4 gap-4 mb-6">
            <div class="text-center">
                <div class="w-14 h-14 mx-auto mb-2 rounded-full bg-gradient-to-br from-blue-400 to-blue-600 flex items-center justify-center">
                    <i class="ri-car-line text-white text-2xl"></i>
                </div>
                <span class="text-sm text-gray-600">经济型</span>
            </div>
            <div class="text-center">
                <div class="w-14 h-14 mx-auto mb-2 rounded-full bg-gradient-to-br from-purple-400 to-purple-600 flex items-center justify-center">
                    <i class="ri-suv-line text-white text-2xl"></i>
                </div>
                <span class="text-sm text-gray-600">SUV</span>
            </div>
            <div class="text-center">
                <div class="w-14 h-14 mx-auto mb-2 rounded-full bg-gradient-to-br from-green-400 to-green-600 flex items-center justify-center">
                    <i class="ri-caravan-line text-white text-2xl"></i>
                </div>
                <span class="text-sm text-gray-600">商务车</span>
            </div>
            <div class="text-center">
                <div class="w-14 h-14 mx-auto mb-2 rounded-full bg-gradient-to-br from-yellow-400 to-yellow-600 flex items-center justify-center">
                    <i class="ri-vip-crown-line text-white text-2xl"></i>
                </div>
                <span class="text-sm text-gray-600">豪华型</span>
            </div>
        </div>

        <!-- 推荐车辆 -->
        <div class="mb-4">
            <h2 class="text-lg font-semibold mb-3">热门推荐</h2>
            <div class="space-y-4">
                <!-- 车辆卡片1 -->
                <div class="bg-white rounded-xl p-4 shadow-sm">
                    <img src="https://images.unsplash.com/photo-1541899481282-d53bffe3c35d" 
                         class="w-full h-40 object-cover rounded-lg mb-3">
                    <div class="flex justify-between items-center">
                        <div>
                            <h3 class="font-medium">特斯拉 Model 3</h3>
                            <p class="text-sm text-gray-500">续航 468km · 自动辅助驾驶</p>
                        </div>
                        <div class="text-right">
                            <p class="text-lg font-semibold text-blue-600">¥399/天</p>
                            <p class="text-xs text-gray-400">起</p>
                        </div>
                    </div>
                </div>

                <!-- 车辆卡片2 -->
                <div class="bg-white rounded-xl p-4 shadow-sm">
                    <img src="https://images.unsplash.com/photo-1551830820-330a71b99659" 
                         class="w-full h-40 object-cover rounded-lg mb-3">
                    <div class="flex justify-between items-center">
                        <div>
                            <h3 class="font-medium">宝马 3系</h3>
                            <p class="text-sm text-gray-500">2.0T · 豪华轿车</p>
                        </div>
                        <div class="text-right">
                            <p class="text-lg font-semibold text-blue-600">¥599/天</p>
                            <p class="text-xs text-gray-400">起</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 